package hengtiansoft.com.myapplication.view;

import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;

/**
 * Created by lu on 16/7/18.
 */
public class CircleView extends View {
    boolean isLow;
    SharedPreferences sp;

    public CircleView(Context context) {
        super(context);
        //不可获取焦点
        setFocusable(true);
    }

    Paint paint = new Paint();

    @Override
    protected void onDraw(Canvas canvas) {
        paint.setStyle(Paint.Style.FILL);
        paint.setAntiAlias(true);

        super.onDraw(canvas);
    }
}
